package com.nt.common.enums;

import com.nt.common.utils.IMyEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author JiangZhaoFeng
 * @description yes or no 枚举
 * @date 2025/02/06
 */
@Getter
@AllArgsConstructor
public enum YesOrNoEnum implements IMyEnum {
    /**
     * 是
     */
    OTHER(2, "其他"),

    /**
     * 是
     */
    YES(1, "是"),
    /**
     * 否
     */
    NO(0, "否"),
    ;

    /**
     * 编号
     */
    private final int code;
    /**
     * 描述
     */
    private final String description;

}
